package cdut.manytomany;
import java.util.HashSet;
import java.util.Set;
public class Student {
    private Integer id;
    private String sname;
    private Set<Course>course = new HashSet<Course>();
    public Integer getId(){
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Set<Course> getCourse() {
        return course;
    }

    public void setCourse(Set<Course> course) {
        this.course = course;
    }
}
